﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Share/MainMenu.Master" AutoEventWireup="true" CodeBehind="fMstGaji.aspx.cs" Inherits="MixScriptWeb.Referensi.fMstGaji" %>
<%@ Register Src="~/control/MixScriptTB.ascx" TagName="baseTextBox" TagPrefix="mix" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script language="javascript" type="text/javascript">
</script>
    <div style="padding-left: 10px;">
       
           <h2 class="jquery_tab"> <asp:Label ID="lblTitle" runat="server" Text="Tabel Gaji" 
                   Font-Bold="True"></asp:Label>
           </h2>
           <br />
        <table style="width: 100%;" class="table-ui">

       <tr>
            <td style="height: 26px">
               Jenis Karyawan</td>
            <td style="height: 26px">
                :</td>
            <td style="width: 245px; height: 26px;">
                <asp:DropDownList ID="cmbjenis_karyawan" runat="server" Width="185px">
                </asp:DropDownList>
            </td>
        </tr>

        <tr>
            <td style="height: 26px">
               Tipe Gaji</td>
            <td style="height: 26px">
                :</td>
            <td style="width: 245px; height: 26px;">
                <asp:DropDownList ID="cmbtipe_gaji" runat="server" Width="185px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="height: 26px">
               Bagian</td>
            <td style="height: 26px">
                :</td>
            <td style="width: 245px; height: 26px;">
                <asp:DropDownList ID="cmbbagian" runat="server" Width="185px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="height: 26px">
               Seksie</td>
            <td style="height: 26px">
                :</td>
            <td style="width: 245px; height: 26px;">
                <asp:DropDownList ID="cmbseksie" runat="server" Width="185px">
                </asp:DropDownList>
            </td>
        </tr>

        <tr>
            <td style="height: 26px">
                Masa Kerja</td>
            <td style="height: 26px">
                :</td>
            <td style="width: 245px; height: 26px;">
                <%--<asp:TextBox ID="txtperiod1" runat="server" Width="85px">7/1/2011</asp:TextBox>&nbsp;--%>
                     <%--<input id="period1" type="text" value="7/1/2011" name="period1" style="width: 88px"/><img id="Img3" src="images/calendar.png" alt="Pick a date" width="13" height="13" runat="server" onclick="return showCalendar('period1')" /> &nbsp;--%>
                     <input id="period1" type="text" value="<%=vperiod1%>" name="period1" style="width: 96px"/>
                     <script type="text/javascript">
                         Calendar.setup({
                             inputField: "period1", // ID of the input field
                             ifFormat: "%Y-%m-%d", // the date format
                             button: "cal_datelog1", // ID of the button
                             showsTime: true,
                             timeFormat: 24
                         });
</script>
                &nbsp;<%--<asp:TextBox ID="TextBox1" runat="server" Width="140px"></asp:TextBox></td>--%>-&nbsp;
                <%--<asp:TextBox ID="txtperiod2" runat="server" Width="91px">7/31/2011</asp:TextBox>--%>
                     <%--<input id="period2" type="text" value="7/31/2011" name="period2" style="width: 88px"/><img id="Img1" src="images/calendar.png" alt="Pick a date" width="13" height="13" runat="server" onclick="return showCalendar('period2')" />--%>
                     <input id="period2" type="text" value="<%=vperiod2%>" name="period2" style="width: 96px"/>
                     <script type="text/javascript">
                         Calendar.setup({
                             inputField: "period2", // ID of the input field
                             ifFormat: "%Y-%m-%d", // the date format
                             button: "cal_datelog2", // ID of the button
                             showsTime: true,
                             timeFormat: 24
                         });
</script>
                </td>
        </tr>


            <tr>
                <td style="width: 173px;">
                    Gaji Pokok
                </td>
                <td style="width: 5px;">
                    :
                </td>
                <td style="width: 1273px;">
                   <mix:baseTextBox ID="txtgaji_pokok" runat="server"    AllowNull=True showFind=False 
                        tooltip="This Field Cannot be empty" isvalid="True" InquiryMethod="Like" 
                        UseQuote="True" />
                    
                </td>
            </tr>

             <tr>
                <td style="width: 173px;">
                    Tunjangan 1
                </td>
                <td style="width: 5px;">
                    :
                </td>
                <td style="width: 1273px;">
                   <mix:baseTextBox ID="txttunjangan1" runat="server"    AllowNull=True showFind=False 
                        tooltip="This Field Cannot be empty" isvalid="True" InquiryMethod="Like" 
                        UseQuote="True" />
                    
                </td>
            </tr>

            <tr>
                <td style="width: 173px;">
                    Tunjangan 2
                </td>
                <td style="width: 5px;">
                    :
                </td>
                <td style="width: 1273px;">
                   <mix:baseTextBox ID="txttunjangan2" runat="server"    AllowNull=True showFind=False 
                        tooltip="This Field Cannot be empty" isvalid="True" InquiryMethod="Like" 
                        UseQuote="True" />
                    
                </td>
            </tr>

            <tr>
                <td style="width: 173px;">
                    Tunjangan 3
                </td>
                <td style="width: 5px;">
                    :
                </td>
                <td style="width: 1273px;">
                   <mix:baseTextBox ID="txttunjangan3" runat="server"    AllowNull=True showFind=False 
                        tooltip="This Field Cannot be empty" isvalid="True" InquiryMethod="Like" 
                        UseQuote="True" />
                    
                </td>
            </tr>
                        
        </table>
        <br />
        <table style="width: 600px" class="table-ui" >
            <tr>
                <td style="height: 26px">
                    <asp:Button ID="btnSave" runat="server" CssClass="button" Text="Save" 
                        Width="99px" OnClick="btnSave_Click" />
                </td>
                <td style="height: 26px">
                </td>
                <td style="height: 26px">
                    <asp:Button ID="btnDelete" runat="server" Text="Delete" CssClass="button" Width="109px"
                        OnClientClick="verify()" OnClick="btnDelete_Click" />
                </td>
                <td style="height: 26px">
                </td>
                <td style="height: 26px">
                    <asp:Button ID="btnFind" runat="server" Text="Find" CssClass="button" Width="101px"
                        OnClick="btnFind_Click" />
                </td>
                <td style="height: 26px">
                </td>
                <td style="height: 26px">
                               <asp:Button ID="btnClear" runat="server" Text="Clear" CssClass="button" 
                                   Width="101px" onclick="btnClear_Click" />
                </td>
                <td style="height: 26px; width: 4px;">
                    &nbsp;</td>
                <td style="height: 26px">
                               &nbsp;</td>
            </tr>
        </table>
        <br />
        <asp:GridView ID="gvdetail" runat="server" 
               Width="100%" AllowPaging="True" CssClass="gridview" 
               onselectedindexchanged="gvdetail_SelectedIndexChanged" AllowSorting="True" 
               onpageindexchanging="gvdetail_PageIndexChanging" 
               onsorting="gvdetail_Sorting">
    
            <AlternatingRowStyle CssClass="alt" />
    
            <Columns >
                <asp:CommandField ShowSelectButton="True"  />
                
            </Columns>
            <EditRowStyle BorderColor="Silver" BorderStyle="Solid" />
                    <FooterStyle CssClass="ft" />
            <PagerStyle BorderStyle="None" BorderWidth="0px" HorizontalAlign="Center" />
            
        </asp:GridView>
        <asp:Label ID="lblRowCount" runat="server" Font-Bold="True" Font-Size="X-Small"></asp:Label>
        <br />
        <div id="pnldetail"></div>
        <br />
        <br />
        </div>
</asp:Content>
